from django.conf.urls.defaults import *
from django.views.generic import DetailView, ListView
from news.models import Post

urlpatterns = patterns('',
    (r'^$', 'news.views.index'),
    (r'^(?P<post_id>\d+)/$', 'news.views.detail'),
    (r'^(?P<post_id>\d+)/(?P<comment_id>\d+)/$', 'news.views.edit_comment')
)